FBMASK125-Jun-90

NAME fbmask – mask a rectangle in a grayscale file SYNOPSIS fbmask [ -<type> ] x0 y0 x1 y1 value < 8bit > 8bit DESCRIPTION

Paints the specified gray value val in a rectangle starting at x and y with the given width and height.

EXAMPLE To put a 50 pixel wide black border around a 640 by 480 pixel grayscale image, you could use the following pipeline (which outputs a Sun rasterfile):


% fbmask 0 0 50 480 0 < foo.8bit | fbmask 0 0 640 50 0 < foo.8bit | fbmask 0 430 640 480 0 < foo.8bit | fbmask 590 0 640 480 0 < foo.8bit > bar.8bit


SEE ALSO fbm(1) for general discussion, pbm(1) for PBM routines. BUGS None known. HISTORY Copyright (C) 1989,1990 by Michael Mauldin. Permission is granted to use this file in whole or in part for any purpose, educational, recreational or commercial, provided that this copyright notice is retained unchanged. This software is available to all free of charge by anonymous FTP and in the UUNET archives.
\begin{TPlist}{25-Jun-90 Michael Mauldin at Carnegie Mellon University}
\item[{2...
...negie Mellon University}]
Beta release (version 0.9) mlm@cs.cmu.edu
\end{TPlist}